package org.linlinjava.litemall.db.domain;

import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;



/**
 * 订单按小时统计列表vo
 * @author lilu
 *
 */

@Data
public class OrderHourStatisticsVo {
	//日期
    private String date;
    //订单总数
    private Integer totalCount = 0;
    //商品数量
    private Integer productCount= 0;
    //订单总额
    private BigDecimal totalAmount =BigDecimal.ZERO;
    //税费总额
    private BigDecimal taxTotalAmount=BigDecimal.ZERO;
    //税费详情
    private List<TaxStatisticsDetailVo> taxDetailLs;

    // 新增字段，用于记录该时间段的订单ID
    private List<LitemallOrder> orderList = new ArrayList<>();

    public void addOrderId(LitemallOrder order) {
        orderList.add(order);
    }

    
}
